import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    uni(),
  ],
  css: {
    preprocessorOptions: {
      scss: {
        additionalData: `@import "uview-plus/theme.scss";`
      }
    }
  },
  // server: {
  //   proxy: {
  //     '/dataset': {
  //       target: 'http://1fbc6602.r3.cpolar.top',
  //       changeOrigin: true,
  //       rewrite: path => path.replace(/^\/dataset/, '/dataset')
  //     }
  //   }
  // }
})
